package com.yanjiali.vo;

import com.yanjiali.entity.Comment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Package: com.yanjiali.vo
 * @Author: yanjiali
 * @Created: 2025/4/24 15:22
 */
@Data
@ApiModel("评论和用户基本信息和对应评论回复的VO对象")
public class CommentAndUserInfoAndReplyVO {

    @ApiModelProperty("评论id")
    private Long id;

    @ApiModelProperty("对应评论的父评论id")
    private Long parentId;

    @ApiModelProperty("对应用户id")
    private Long uid;

    @ApiModelProperty(value="评论内容")
    private String content;

    @ApiModelProperty(value="用户地址")
    private String address;

    @ApiModelProperty(value="点赞数")
    private Integer likes;

    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty("对应用户对象")
    private UserVO user = new UserVO();

    @ApiModelProperty("对应回复数据")
    private ReplyVO reply = new ReplyVO();

//    @ApiModelProperty("用户昵称")
//    private String username;
//
//    @ApiModelProperty("用户头像地址")
//    private String avatar;
//
//    @ApiModelProperty("用户等级")
//    private Integer level;
//
//    @ApiModelProperty(value="地址")
//    private String address;
//
//    @ApiModelProperty(value="评论内容")
//    private String content;
//
//    @ApiModelProperty(value="点赞数")
//    private Integer likes;
//
//    @ApiModelProperty(value="创建时间")
//    private Date createTime;
//
//    @ApiModelProperty("对应回复的条数")
//    private Long replyTotal;
//
//    @ApiModelProperty("对应回复的评论列表")
//    private List<CommentAndUserInfoVO> replyCommentList;
}
